package com.zk.stock.mapper;

import com.zk.stock.pojo.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 曹自康的Laptop
* @description 针对表【sys_user(用户表)】的数据库操作Mapper
* @createDate 2024-06-27 20:31:40
* @Entity com.zk.stock.pojo.entity.SysUser
*/
public interface SysUserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);
    SysUser findUserInfoByUserName(@Param("userName") String userName);
    List<SysUser> findUserAllList();

}
